<!--
 * @Description: 
 * @Version: 1.0
 * @Autor: hasaiki
 * @Date: 2024-01-31 09:28:10
 * @LastEditors: hasaiki
 * @LastEditTime: 2024-01-31 09:48:33
-->
<template>
    <div class="test-panel">
        <p>标题 <a href="javascript:void(0)">关闭</a></p>
        <span>速度：{{ speed }}</span>
    </div>
</template>

<script lang="ts" setup>
const speed = ref(10);
</script>

<style lang="css">
.test-panel {
    background-color: #ff0000;
    width: 200px;
    height: 100px;
}

.test-panel p {
    background: green;
    margin: 0;
    cursor: pointer;
}

.test-panel p a {
    float: right;
}
</style>
